<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'index.jsp' starting page</title>
</head>

<body>
	<br /> This is my JSP page.
	<br />
	<br />
	
	<a href="hello">hello springmvc，转发成功验证</a>
	<br />
	<br />
	
	<form action="post" method="post">
		<input type="submit" value="post springmvc，post转发成功验证" />
	</form>
	<br />
	<br />
	
	<a href="verify">verify springmvc，get请求参数验证</a>
	<br />
	<br />
	
	<a href="aaaabbbbcccc/ant">ant springmvc，get请求参数验证</a>
	<br />
	<br />
	
	<a href="rest/Leonardo">rest springmvc，rest请求验证</a>
	<br/>
	<br/>
	
	web.xml里配置filter为HiddenHttpMethodFilter<br/>
	<a href="rest/get">rest get 请求</a>
	<br />
	
	<form action="rest/1" method="post">
		<input type="hidden" name="_method" value="POST"></intpu>
		<input type="submit" value="rest post 添加" />
	</form>
	<form action="rest/2" method="post">
		<input type="hidden" name="_method" value="PUT"></intpu>
		<input type="submit" value="rest put 更新" />
	</form>
	<form action="rest/3" method="post">
		<input type="hidden" name="_method" value="DELETE"></intpu>
		<input type="submit" value="rest delete 删除" />
	</form>
</body>
</html>
